-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes 0.6.0 version compatibility issues #223
Conversation
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
/hold |
/hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
We need to test how it react to array parameters when doing a tkn pipeline start
, but at least it doesn't panic anymore 👼
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hrishin, vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The perline version 0.6.0 has introduced following changes - Pipeline/PipelineParam was the string value, now it has changed to ArrayOrString - SeedTestData method were accpeting two params, now it has introduced `context` as 3rd param which essentially broke the compatbility with execsting pipeline API's This patch fixes, - Pipeline/PipelineRun params now refers to type of ArrayOrString - SeedTestData() utility fixes the context param issue, by extracting the function call at one place. So in future if API changes, hopefully need to fix at one place Fixes tektoncd#220
12e3678
to
cca0058
Compare
/lgtm |
cca0058
to
7e0a500
Compare
/lgtm |
Changes
The pipeline version 0.6.0 has introduced following changes
changed to ArrayOrString
SeedTestData
method were accepting two params, now it hasintroduced
context
as 3rd paramwhich essentially broke the compatibility with existing pipeline
API's
This patch fixes,
the function call at one place. So in future if API changes, hopefully
need to fix at one place
Fixes #220
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.
Release Notes